import {
  usernameClient,
  adminClient,
  organizationClient,
} from "better-auth/client/plugins";
import { createAuthClient } from "better-auth/vue";

export const auth = createAuthClient({
  baseURL: "http://localhost:3000",
  plugins: [
    // 这里如果后端有一些better-auth插件，这里也要引入对应的前端插件
    usernameClient(),
    organizationClient(),
    adminClient(),
  ],
});
